package io.openmessaging.storage.dledger.protocol;

public class VoteRequest extends RequestOrResponse {

    //
    private long ledgerEndIndex = -1;

    //
    private long ledgerEndTerm = -1;

    public long getLedgerEndIndex() {
        return ledgerEndIndex;
    }

    public void setLedgerEndIndex(long ledgerEndIndex) {
        this.ledgerEndIndex = ledgerEndIndex;
    }

    public long getLedgerEndTerm() {
        return ledgerEndTerm;
    }

    public void setLedgerEndTerm(long ledgerEndTerm) {
        this.ledgerEndTerm = ledgerEndTerm;
    }

}
